package org.pine.dictionary.service.query;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.pine.dictionary.common.StatusEnum;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 字典查询结构
 * </p>
 *
 * @author pine
 * @since 2024-05-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DictionaryQuery extends BaseQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 2443531726566689396L;

    /**
     * 字典ID
     */
    private String dictionaryId;

    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 状态: 1=启用，0=禁用
     * @see StatusEnum
     */
    private StatusEnum status;

}
